find_program(
	SPHINX_EXECUTABLE
	NAMES sphinx-build
	DOC "make sure path to sphinx-build is correct"
)

# handle REQUIRED and QUIET arguments, set SPHINX_FOUND variable
include(FindPackageHandleStandardArgs) # cmake buildin
find_package_handle_standard_args(
	Sphinx "Unable to locate sphinx-build executable" SPHINX_EXECUTABLE)
